﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH4.Shoppgin.Admin.IService
{
    public interface IOrderDetailService
    {
        int Insert(List<OrderMasterEntity> entities);
        Task<int> UpdateAsync(OrderMasterEntity entity);
        Task<int> UpdateAsync(List<OrderMasterEntity> entities);
        Task<int> DeleteAsync(OrderMasterEntity entity);
        Task<int> DeleteAsync(object id);

        Task<List<OrderMasterEntity>> QueryAsync(string orderNo);
    }
}
